#login.container
  #login-form.form-signin
    = form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
      .register_link
        = link_to t('.new_account'), new_registration_path(resource_name)
      %legend
        %h2.form-signin-heading= t('.sign_in')

      = render "shared/login_notice"

      .input_field
        .email_field= f.email_field :email, class: "input-block-level", placeholder: t('.email')
        .password_field= f.password_field :password, class: "input-block-level", placeholder: t('.password')

      - if devise_mapping.rememberable?
        .remember_me
          = f.check_box :remember_me, class: "checkbox"
          = f.label t('.remember_me')

      .login_btn
        %button.btn.btn-medium.btn-primary{type: "submit"}= t('.sign_in')
        - if devise_mapping.recoverable? && controller_name != 'passwords'
          = link_to t('.forgot_password'), new_password_path(resource_name), id: "forgot_password_link"

